<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="../lib/decimal/decimal.min.js"></script>
    <script type="text/javascript">
        var x = new Decimal("0.1");
        var y = x.plus(0.2);
        console.log(y.toFixed(3) );
        console.log(y.toNumber() + 1 );
    </script>
</head>
<body>
    <h1>hello, decimal!</h1>
</body>
</html>